package com.learn.mail.config;

import org.apache.commons.lang3.RandomUtils;
import org.beetl.ext.spring.BeetlGroupUtilConfiguration;

/**
 * beetl拓展配置,绑定一些工具类,方便在模板中直接调用
 * @author:         MI
 * @email:          448341911@qq.com
 * @createTime:     2023/12/16 19:08
 * @updateUser:     cong zhi
 * @updateTime:     2023/12/16 19:08
 * @updateRemark:   修改内容
 * @version:        v1.0
 */
public class BeetlConfiguration extends BeetlGroupUtilConfiguration {
    @Override
    protected void initOther() {
        groupTemplate.registerFunctionPackage("kaptcha", new RandomUtils());
    }
}
